﻿using System.Configuration;

namespace Mbs.Configuration
{
    public class ModuleElement : ParameterConfigurationElement
    {
        public struct Constance
        {
            public const string AssemblyFile = "assemblyFile";
            //public const string LazyLoad = "lazyLoad";
        }

        //[ConfigurationProperty(Constance.LazyLoad, DefaultValue=false)]
        //public bool LazyLoad
        //{
        //    get { return (bool)this[Constance.LazyLoad]; }
        //    set { this[Constance.LazyLoad] = value; }
        //}
        [ConfigurationProperty(Constance.AssemblyFile, IsKey = true, IsRequired= true)]
        public string AssemblyFile
        {
            get { return (string)this[Constance.AssemblyFile]; }
            set { this[Constance.AssemblyFile] = value; }
        }

    }
}
